.spectrum-Popover {
  visibility: hidden;

  opacity: 0;

  transition: transform var(--spectrum-global-animation-duration-100, 130ms) ease-in-out,
              opacity var(--spectrum-global-animation-duration-100, 130ms) ease-in-out,
              visibility 0ms linear var(--spectrum-global-animation-duration-100, 130ms);

  pointer-events: none;
}

.spectrum-Popover.is-open {
  visibility: visible;

  opacity: 1;

  transition-delay: 0ms;

  pointer-events: auto;
}

.spectrum-Popover--bottom.is-open {
  transform: translateY(var(--spectrum-dropdown-flyout-menu-offset-y, var(--spectrum-global-dimension-size-75)));
}

.spectrum-Popover--top.is-open {
  transform: translateY(calc(-1 * var(--spectrum-dropdown-flyout-menu-offset-y, var(--spectrum-global-dimension-size-75))));
}

.spectrum-Popover--right.is-open {
  transform: translateX(var(--spectrum-dropdown-flyout-menu-offset-y, var(--spectrum-global-dimension-size-75)));
}

.spectrum-Popover--left.is-open {
  transform: translateX(calc(-1 * var(--spectrum-dropdown-flyout-menu-offset-y, var(--spectrum-global-dimension-size-75))));
}

.spectrum-Popover {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-direction: column;
      flex-direction: column;
  box-sizing: border-box;

  min-width: var(--spectrum-global-dimension-size-400);
  min-height: var(--spectrum-global-dimension-size-400);

  position: absolute;

  border-style: solid;
  border-width: var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin));
  border-radius: var(--spectrum-popover-border-radius, var(--spectrum-alias-border-radius-regular));

  outline: none;
}

.spectrum-Popover-tip {
  position: absolute;
  overflow: hidden;
  width: calc(var(--spectrum-popover-tip-width, var(--spectrum-global-dimension-size-250)) + 1px);
  height: calc(var(--spectrum-popover-tip-width, var(--spectrum-global-dimension-size-250)) / 2 + var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin)));
}

[dir="ltr"] .spectrum-Popover-tip::after {
    left: -1px;
}

[dir="rtl"] .spectrum-Popover-tip::after {
    right: -1px;
}

.spectrum-Popover-tip::after {
    content: '';
    width: var(--spectrum-popover-tip-width, var(--spectrum-global-dimension-size-250));
    height: var(--spectrum-popover-tip-width, var(--spectrum-global-dimension-size-250));
    border-width: var(--spectrum-popover-border-size, var(--spectrum-alias-border-size-thin));
    border-style: solid;
    position: absolute;
    transform: rotate(45deg);
    top: -18px;
  }

.spectrum-Popover--dialog {
  min-width: 270px;
  padding: 30px 29px;
}

[dir="ltr"] .spectrum-Popover--left.spectrum-Popover--withTip {
    margin-right: 13px;
}

[dir="rtl"] .spectrum-Popover--left.spectrum-Popover--withTip {
    margin-left: 13px;
}

[dir="ltr"] .spectrum-Popover--left .spectrum-Popover-tip {
    right: -16px;
}

[dir="rtl"] .spectrum-Popover--left .spectrum-Popover-tip {
    left: -16px;
}

.spectrum-Popover--left .spectrum-Popover-tip {
    transform: rotate(-90deg);
  }

[dir="ltr"] .spectrum-Popover--right.spectrum-Popover--withTip {
    margin-left: 13px;
}

[dir="rtl"] .spectrum-Popover--right.spectrum-Popover--withTip {
    margin-right: 13px;
}

[dir="ltr"] .spectrum-Popover--right .spectrum-Popover-tip {
    left: -16px;
}

[dir="rtl"] .spectrum-Popover--right .spectrum-Popover-tip {
    right: -16px;
}

.spectrum-Popover--right .spectrum-Popover-tip {
    transform: rotate(90deg);
  }

.spectrum-Popover--left .spectrum-Popover-tip, .spectrum-Popover--right .spectrum-Popover-tip {
    top: 50%;
    margin-top: -6px;
  }

.spectrum-Popover--bottom.spectrum-Popover--withTip {
    margin-top: 13px;
  }

.spectrum-Popover--bottom .spectrum-Popover-tip {
    top: -11px;
    transform: rotate(180deg);
  }

.spectrum-Popover--top.spectrum-Popover--withTip {
    margin-bottom: 13px;
  }

.spectrum-Popover--top .spectrum-Popover-tip {
    bottom: -11px;
  }

[dir="ltr"] .spectrum-Popover--bottom .spectrum-Popover-tip,[dir="ltr"]  .spectrum-Popover--top .spectrum-Popover-tip {
    left: 50%;
}

[dir="rtl"] .spectrum-Popover--bottom .spectrum-Popover-tip,[dir="rtl"]  .spectrum-Popover--top .spectrum-Popover-tip {
    right: 50%;
}

[dir="ltr"] .spectrum-Popover--bottom .spectrum-Popover-tip,[dir="ltr"]  .spectrum-Popover--top .spectrum-Popover-tip {
    margin-left: -12px;
}

[dir="rtl"] .spectrum-Popover--bottom .spectrum-Popover-tip,[dir="rtl"]  .spectrum-Popover--top .spectrum-Popover-tip {
    margin-right: -12px;
}

[dir="ltr"] .spectrum-Popover.spectrum-Popover--dialog .spectrum-Dialog-typeIcon {
      margin-left: var(--spectrum-global-dimension-size-200);
}

[dir="rtl"] .spectrum-Popover.spectrum-Popover--dialog .spectrum-Dialog-typeIcon {
      margin-right: var(--spectrum-global-dimension-size-200);
}

.spectrum-Popover {
  background-color: var(--spectrum-popover-background-color, var(--spectrum-global-color-gray-50));
  border-color: var(--spectrum-popover-border-color, var(--spectrum-alias-border-color-dark));
  box-shadow: 0 1px 4px var(--spectrum-popover-shadow-color, var(--spectrum-alias-dropshadow-color));
}

.spectrum-Popover .spectrum-Dialog-header,
  .spectrum-Popover .spectrum-Dialog-footer,
  .spectrum-Popover .spectrum-Dialog-wrapper {
    background-color: transparent;
  }

.spectrum-Popover .spectrum-Popover-tip::after {
    background-color: var(--spectrum-popover-background-color, var(--spectrum-global-color-gray-50));
    border-color: var(--spectrum-popover-border-color, var(--spectrum-alias-border-color-dark));
    box-shadow: -1px -1px 4px var(--spectrum-popover-shadow-color, var(--spectrum-alias-dropshadow-color));
  }
